Optimal. Leaf size=143 \[ \frac{i b x^2 \text{PolyLog}\left (2,-i e^{i \left (c+d x^2\right )}\right )}{d^2}-\frac{i b x^2 \text{PolyLog}\left (2,i e^{i \left (c+d x^2\right )}\right )}{d^2}-\frac{b \text{PolyLog}\left (3,-i e^{i \left (c+d x^2\right )}\right )}{d^3}+\frac{b \text{PolyLog}\left (3,i e^{i \left (c+d x^2\right )}\right )}{d^3}+\frac{a x^6}{6}-\frac{i b x^4 \tan ^{-1}\left (e^{i \left (c+d x^2\right )}\right )}{d} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.161677, antiderivative size = 143, normalized size of antiderivative = 1., number of steps used = 10, number of rules used = 6, integrand size = 16, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.375, Rules used = {14, 4204, 4181, 2531, 2282, 6589} \[ \frac{i b x^2 \text{PolyLog}\left (2,-i e^{i \left (c+d x^2\right )}\right )}{d^2}-\frac{i b x^2 \text{PolyLog}\left (2,i e^{i \left (c+d x^2\right )}\right )}{d^2}-\frac{b \text{PolyLog}\left (3,-i e^{i \left (c+d x^2\right )}\right )}{d^3}+\frac{b \text{PolyLog}\left (3,i e^{i \left (c+d x^2\right )}\right )}{d^3}+\frac{a x^6}{6}-\frac{i b x^4 \tan ^{-1}\left (e^{i \left (c+d x^2\right )}\right )}{d} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 14
Rule 4204
Rule 4181
Rule 2531
Rule 2282
Rule 6589
Rubi steps
\begin{align*} \int x^5 \left (a+b \sec \left (c+d x^2\right )\right ) \, dx &=\int \left (a x^5+b x^5 \sec \left (c+d x^2\right )\right ) \, dx\\ &=\frac{a x^6}{6}+b \int x^5 \sec \left (c+d x^2\right ) \, dx\\ &=\frac{a x^6}{6}+\frac{1}{2} b \operatorname{Subst}\left (\int x^2 \sec (c+d x) \, dx,x,x^2\right )\\ &=\frac{a x^6}{6}-\frac{i b x^4 \tan ^{-1}\left (e^{i \left (c+d x^2\right )}\right )}{d}-\frac{b \operatorname{Subst}\left (\int x \log \left (1-i e^{i (c+d x)}\right ) \, dx,x,x^2\right )}{d}+\frac{b \operatorname{Subst}\left (\int x \log \left (1+i e^{i (c+d x)}\right ) \, dx,x,x^2\right )}{d}\\ &=\frac{a x^6}{6}-\frac{i b x^4 \tan ^{-1}\left (e^{i \left (c+d x^2\right )}\right )}{d}+\frac{i b x^2 \text{Li}_2\left (-i e^{i \left (c+d x^2\right )}\right )}{d^2}-\frac{i b x^2 \text{Li}_2\left (i e^{i \left (c+d x^2\right )}\right )}{d^2}-\frac{(i b) \operatorname{Subst}\left (\int \text{Li}_2\left (-i e^{i (c+d x)}\right ) \, dx,x,x^2\right )}{d^2}+\frac{(i b) \operatorname{Subst}\left (\int \text{Li}_2\left (i e^{i (c+d x)}\right ) \, dx,x,x^2\right )}{d^2}\\ &=\frac{a x^6}{6}-\frac{i b x^4 \tan ^{-1}\left (e^{i \left (c+d x^2\right )}\right )}{d}+\frac{i b x^2 \text{Li}_2\left (-i e^{i \left (c+d x^2\right )}\right )}{d^2}-\frac{i b x^2 \text{Li}_2\left (i e^{i \left (c+d x^2\right )}\right )}{d^2}-\frac{b \operatorname{Subst}\left (\int \frac{\text{Li}_2(-i x)}{x} \, dx,x,e^{i \left (c+d x^2\right )}\right )}{d^3}+\frac{b \operatorname{Subst}\left (\int \frac{\text{Li}_2(i x)}{x} \, dx,x,e^{i \left (c+d x^2\right )}\right )}{d^3}\\ &=\frac{a x^6}{6}-\frac{i b x^4 \tan ^{-1}\left (e^{i \left (c+d x^2\right )}\right )}{d}+\frac{i b x^2 \text{Li}_2\left (-i e^{i \left (c+d x^2\right )}\right )}{d^2}-\frac{i b x^2 \text{Li}_2\left (i e^{i \left (c+d x^2\right )}\right )}{d^2}-\frac{b \text{Li}_3\left (-i e^{i \left (c+d x^2\right )}\right )}{d^3}+\frac{b \text{Li}_3\left (i e^{i \left (c+d x^2\right )}\right )}{d^3}\\ \end{align*}
Mathematica [A] time = 0.0439184, size = 146, normalized size = 1.02 \[ \frac{i b x^2 \text{PolyLog}\left (2,-i e^{i \left (c+d x^2\right )}\right )}{d^2}-\frac{i b x^2 \text{PolyLog}\left (2,i e^{i \left (c+d x^2\right )}\right )}{d^2}-\frac{b \text{PolyLog}\left (3,-i e^{i \left (c+d x^2\right )}\right )}{d^3}+\frac{b \text{PolyLog}\left (3,i e^{i \left (c+d x^2\right )}\right )}{d^3}+\frac{a x^6}{6}-\frac{i b x^4 \tan ^{-1}\left (e^{i c+i d x^2}\right )}{d} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [F] time = 0.113, size = 0, normalized size = 0. \begin{align*} \int{x}^{5} \left ( a+b\sec \left ( d{x}^{2}+c \right ) \right ) \, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \begin{align*} \frac{1}{6} \, a x^{6} + 2 \, b \int \frac{x^{5} \cos \left (2 \, d x^{2} + 2 \, c\right ) \cos \left (d x^{2} + c\right ) + x^{5} \sin \left (2 \, d x^{2} + 2 \, c\right ) \sin \left (d x^{2} + c\right ) + x^{5} \cos \left (d x^{2} + c\right )}{\cos \left (2 \, d x^{2} + 2 \, c\right )^{2} + \sin \left (2 \, d x^{2} + 2 \, c\right )^{2} + 2 \, \cos \left (2 \, d x^{2} + 2 \, c\right ) + 1}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [C] time = 2.01512, size = 1269, normalized size = 8.87 \begin{align*} \frac{2 \, a d^{3} x^{6} - 6 i \, b d x^{2}{\rm Li}_2\left (i \, \cos \left (d x^{2} + c\right ) + \sin \left (d x^{2} + c\right )\right ) - 6 i \, b d x^{2}{\rm Li}_2\left (i \, \cos \left (d x^{2} + c\right ) - \sin \left (d x^{2} + c\right )\right ) + 6 i \, b d x^{2}{\rm Li}_2\left (-i \, \cos \left (d x^{2} + c\right ) + \sin \left (d x^{2} + c\right )\right ) + 6 i \, b d x^{2}{\rm Li}_2\left (-i \, \cos \left (d x^{2} + c\right ) - \sin \left (d x^{2} + c\right )\right ) + 3 \, b c^{2} \log \left (\cos \left (d x^{2} + c\right ) + i \, \sin \left (d x^{2} + c\right ) + i\right ) - 3 \, b c^{2} \log \left (\cos \left (d x^{2} + c\right ) - i \, \sin \left (d x^{2} + c\right ) + i\right ) + 3 \, b c^{2} \log \left (-\cos \left (d x^{2} + c\right ) + i \, \sin \left (d x^{2} + c\right ) + i\right ) - 3 \, b c^{2} \log \left (-\cos \left (d x^{2} + c\right ) - i \, \sin \left (d x^{2} + c\right ) + i\right ) + 3 \,{\left (b d^{2} x^{4} - b c^{2}\right )} \log \left (i \, \cos \left (d x^{2} + c\right ) + \sin \left (d x^{2} + c\right ) + 1\right ) - 3 \,{\left (b d^{2} x^{4} - b c^{2}\right )} \log \left (i \, \cos \left (d x^{2} + c\right ) - \sin \left (d x^{2} + c\right ) + 1\right ) + 3 \,{\left (b d^{2} x^{4} - b c^{2}\right )} \log \left (-i \, \cos \left (d x^{2} + c\right ) + \sin \left (d x^{2} + c\right ) + 1\right ) - 3 \,{\left (b d^{2} x^{4} - b c^{2}\right )} \log \left (-i \, \cos \left (d x^{2} + c\right ) - \sin \left (d x^{2} + c\right ) + 1\right ) - 6 \, b{\rm polylog}\left (3, i \, \cos \left (d x^{2} + c\right ) + \sin \left (d x^{2} + c\right )\right ) + 6 \, b{\rm polylog}\left (3, i \, \cos \left (d x^{2} + c\right ) - \sin \left (d x^{2} + c\right )\right ) - 6 \, b{\rm polylog}\left (3, -i \, \cos \left (d x^{2} + c\right ) + \sin \left (d x^{2} + c\right )\right ) + 6 \, b{\rm polylog}\left (3, -i \, \cos \left (d x^{2} + c\right ) - \sin \left (d x^{2} + c\right )\right )}{12 \, d^{3}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int x^{5} \left (a + b \sec{\left (c + d x^{2} \right )}\right )\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int{\left (b \sec \left (d x^{2} + c\right ) + a\right )} x^{5}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]